<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>My JSP starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	<link rel="stylesheet" type="text/css" href="wzp/css/popup.css">
	<script type="text/javascript" src="wzp/js/tinybox.js"></script> 
	-->
  	<link rel="stylesheet" type="text/css" href="admin/css/user.css">
	</head>
	<style type="text/css">
		h3{font-size:18px}
		.item{padding:5px 0 5px 3px;}
		.label{display:inline-block; width:120px; font-size:18px; font-weight:bold;}
		.input{width:200px;height:25px; padding:4px 0 4px 3px; margin-right:10px;  }
		.input_focus{background:white; border-color:#ce9400; color:#444444;}
		#userForm input.invalid { border: 1px dotted red; } 
		#userForm label.invalid {margin-left: 10px;width: auto; display: inline; color:red;}
		.submit { border:none; width:70px;height:32px;font-weight:bold;font-size:18px;
		background: url("admin/images/bigButton.png")}
	</style> 
	<body>
	
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="wzp/images/tab_03.gif" width="15" height="30" /></td>
        <td width="100%" background="wzp/images/tab_05.gif">用户详情</td>
        <td width="14"><img src="wzp/images/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellpadding="0"  cellspacing="0" >
      <tr>
        <td width="9" background="wzp/images/tab_12.gif">&nbsp;</td>
        <td bgcolor="#dceffd">
          <table  width="99%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#84b1d3" >
          <tr class="trtab">
            <td class="tdtab" width="50%">
            	<span class="tdspan">登录名：</span><span id="uId">${user.UId }</span>
			</td>
            <td class="tdtab" >
            	<span class="tdspan" width="50%">真实姓名：</span>${user.UName }
			</td>
          </tr>
          <tr class="trtab">
            <td class="tdtab" ><span class="tdspan">手机号码：</span>${user.UPhone }
			</td>
            <td class="tdtab" ><span class="tdspan">固定电话：</span>${user.UTel }
			</td>
          </tr>
          <tr class="trtab">
            <td class="tdtab" ><span class="tdspan">传真号码：</span>${user.UFax }
			</td>
            <td class="tdtab" ><span class="tdspan">邮箱地址：</span>${user.UMail }
			</td>
          </tr>
          <tr class="trtab">
            <td class="tdtab" >
            	<span class="tdspan">所属部门：</span>
            	<s:iterator value= "user.tbUserDepts"  status="status">
            		${udName }
				</s:iterator>	
			</td>
			<td class="tdtab" ><span class="tdspan">所属角色：</span>
            	<s:iterator value= "user.tbUserRoles"  status="status">
					${tbRole.RName}
				</s:iterator>	
			</td>
          </tr>
          <tr class="trtab">
            <td class="tdtab" colspan="2"><span class="tdspan">账号状态：</span>${user.tbUserState.usName}
			</td>
          </tr>
          
          <tr class="trtab">
          	<td align="center" colspan="2"> 
          		<button class="submit" onclick="window.location.href='/ag/admin/users.jsp' ">返回</button> 
          	</td>
          </tr>
        </table></td>
        <td width="9" background="wzp/images/tab_16.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="29"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="29"><img src="wzp/images/tab_20.gif" width="15" height="29" /></td>
        <td width="100%" background="wzp/images/tab_21.gif"> </td>
        <td width="14"><img src="wzp/images/tab_22.gif" width="14" height="29" /></td>
      </tr>
    </table></td>
  </tr>
</table>
 
</body>
</html>